<?php
namespace Home\Controller;
use Think\Controller;
class IndexController extends BaseController {
    public function index(){
     	$data = M('donation')->where(array('is_delete' => 1))->order('money DESC')->select();
     	$last = D('Home/Donation')->getNewMoney();
     	$this->assign('data', $data);
     	$this->assign('last', $last);
     	$this->display();  
    }
}